<?php 
 $subsections = $this->sections_model->getSelectOptions($id_sections);

        if (!empty($subsections))
        {
            echo '<div class="input_300">'.form_dropdown('subsection', $subsections, $this->input->get_post('section_sub'), 'id="section_sub"' . $onchange, TRUE).'</div>';
        }
        else
        {
            echo '<div style="padding:4px 0 0 6px; font-size:12px">'.T_('Not found').'</div>';
        }
?>